<template>
  <el-container class="supply">
    <el-header style="height: auto">
      <el-date-picker
        v-model="value6"
        type="daterange"
        range-separator="-"
        start-placeholder="开始日期"
        end-placeholder="结束日期">
      </el-date-picker>
      <el-button type="primary" >搜索</el-button>
    </el-header>
    <el-main>
      <!--tab-->

      <tbcom ref="tbcom"></tbcom>
      <!--      <el-row style="width:100%;">
              <el-col :span="24">
                <el-tabs v-model="activeName" @tab-click="handleClick">
                  <el-tab-pane label="备件验收" name="first">
                    <tbcom ref="tbcom"></tbcom>
                  </el-tab-pane>
                  <el-tab-pane label="异常查询" name="second">异常查询</el-tab-pane>
                </el-tabs>
              </el-col>
            </el-row>-->
    </el-main>

  </el-container>
</template>

<script>

  import {fetchGet, createOne, deleteOne, deletePost, getOne, rolesAll, updateOneNoId} from '@/api/common'
  import {disableBtn, df, $err, $suc, ERRS, SUCS} from '@/utils'
  import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
  import tbcom from './comp/tabComp'
  import addOutgoing from './comp/addOutgoing'
  export default {
    name: "partsCheck",

    components: {
      tbcom,
      addOutgoing
    },
    computed: {},
    mounted() {
    },
    data() {
      return {
        //分页搜索
        total: 0,
        listQuery: {
          page: 1,
          size: 10,
          searchText: ''
        },

        listLoading: false,
        list: [],     //内容
        value6: '',
        activeName: 'first'


      }

    },
    method: {

      handleClick(tab, event) {
        console.log(tab, event);
      },
      dhpc(row) {
        console.log(row);
      },
      handleCreate(){

      },
    }
  }

</script>

<style scoped>
  .supply{
    display: flex;
    padding: 10px;
    border:0px solid blue;
    height: 100%;
    .el-col-24 {
      overflow: auto;
      height: 100%;
    }
  }
</style>
